package com.example.signtime.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.signtime.modules.entity.SignTime;
import com.example.signtime.modules.vo.SignTimeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface SignTimeMapper extends BaseMapper<SignTime> {
    List<SignTimeVO> getSignList(@Param("countDays") Integer countDays);

    Integer getSignRecord(@Param("userId") Integer userId);

    List<Date> signDates(@Param("userId") Integer userId);
}
